import request from '@/utils/request'

// 查询教学评价信息集列表
export function listEvaluate(query) {
  return request({
    url: '/teacher/evaluate/list',
    method: 'get',
    params: query
  })
}

// 查询教学评价信息集详细
export function getEvaluate(recordid) {
  return request({
    url: '/teacher/evaluate/' + recordid,
    method: 'get'
  })
}

// 新增教学评价信息集
export function addEvaluate(data) {
  return request({
    url: '/teacher/evaluate',
    method: 'post',
    data: data
  })
}

// 修改教学评价信息集
export function updateEvaluate(data) {
  return request({
    url: '/teacher/evaluate',
    method: 'put',
    data: data
  })
}

// 删除教学评价信息集
export function delEvaluate(recordid) {
  return request({
    url: '/teacher/evaluate/' + recordid,
    method: 'delete'
  })
}

// 导出教学评价信息集
export function exportEvaluate(query) {
  return request({
    url: '/teacher/evaluate/export',
    method: 'get',
    params: query
  })
}